package com.cloudclassroom.controller;

import com.cloudclassroom.vo.RestResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 92110
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/hello")
    public RestResult<String> hello(){
        return RestResult.success("hello");
    }
}
